<?php

class GameController extends AppController{
    public $uses = null;
    
    
    private $statistics = array('Strength', 'Vitality', 'Dexterity', 'Intelligence');
    
    public function index(){
        $this->set('username', 'HAHAHA');
        $user = $this->Auth->user();
        $this->set('user', $user);
        
        
        $this->set('statistics', $this->statistics);
    }
    
    public function beforeFiler(){
        parent::beforeFilder();
    }
    
    public function logout(){
        $this->redirect($this->Auth->logout());
    }
}
